package com.myrpc.transport;

import org.eclipse.jetty.http.HttpParser;

import java.io.InputStream;

/**
 * 启动监听
 * 接收请求
 * 关闭监听
 */
public interface TransportServer {
    void init(int port, RequestHandler handler);
    void start();
    void stop();
}
